switch(global.spawn)
{
case 0:
global.spawnx = -10;
global.spawny = 640;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = 5000;
global.yrandmax = 10000;

break;

case 1:
global.spawnx = -10;
global.spawny = 320;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = 0;
global.yrandmax = 3000;
break;

case 2:
global.spawnx = -10;
global.spawny = 32;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = 5000;
global.yrandmax = 10000;
break;

case 3:
global.spawnx = 1034;
global.spawny = 640;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = -3000;
global.yrandmax = 1000;
break;

case 4:
global.spawnx = 1034;
global.spawny = 320;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = 0;
global.yrandmax = 3000;
break;

case 5:
global.spawnx = 1034;
global.spawny = 32;
global.xrandmin = 5000;
global.xrandmax = 10000;
global.yrandmin = -3000;
global.yrandmax = 1000;
break;
}
